import request from '@/utils/request'

export const getApplyList = data => {
  return request({
    url: '/apply/getApplyList',
    method: 'post',
    data,
  })
}

export const getApplyDetail = id => {
  return request({
    url: '/apply/getApplyDetail?donate=' + id,
    method: 'get',
  })
}

export const editApply = data => {
  return request({
    url: '/apply/edit',
    method: 'put',
    data,
  })
}

export const getApplyPasser = () => {
  return request({
    url: '/apply/getApplyPasser?',
    method: 'get',
  })
}